//
//  UimageCategoryTool.swift
//  d11
//
//  Created by rhonin on 2018/11/22.
//  Copyright © 2018年 Tech_001. All rights reserved.
//

import Foundation
//import Kingfisher

extension UIImageView{
    func set_kf_Images(urlString:String,placeHolder:String?) {
        self.clipsToBounds = true
        self.contentMode = .scaleAspectFill
        self.clipsToBounds = true
        let url = URL(string: urlString)
        if placeHolder != nil {
            let image = UIImage(named: placeHolder!)
        //    self.sd_setImage(with: url, placeholderImage: image, completed: nil)
//          self.kf.setImage(with: url, placeholder: image, options: nil, progressBlock: nil, completionHandler: nil)
        }else{
//             self.kf.setImage(with: url, placeholder: nil, options: nil, progressBlock: nil, completionHandler: nil)
        }
       
    }
    
}
